#include <xen/acpi.h>
#include <asm/dom_fw.h>
+#include <public/sched.h>
static struct ia64_boot_param *dom_fw_init(struct domain *, char *,int,char *,int);
extern unsigned long domain_mpa_to_imva(struct domain *,unsigned long mpaddr);
(*efi.reset_system)(EFI_RESET_SHUTDOWN,0,0,NULL);
}
else
- domain_shutdown (current->domain, 0);
+ domain_shutdown (current->domain,
+ SHUTDOWN_poweroff);
break;
default:
printk("xen_pal_emulator: UNIMPLEMENTED PAL CALL %lu!!!!\n",
printf("(by dom0)\n ");
(*efi.reset_system)(EFI_RESET_WARM,0,0,NULL);
}
- printf("(not supported for non-0 domain)\n");
+ else
+ domain_shutdown (current->domain, SHUTDOWN_reboot);
regs->r8 = EFI_UNSUPPORTED;
break;
case FW_HYPERCALL_EFI_GET_TIME: